package com.isp.org.server.interfaces.model.user.mapper;

import com.isp.org.api.dto.user.UserVO;
import com.isp.org.server.domain.entity.UserEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author linsy
 * @version 1.0
 * @created 2024/1/26 11:51
 */
@Mapper
public interface UserMapStruct {
    UserMapStruct INSTANCE = Mappers.getMapper(UserMapStruct.class);

    UserVO entityToVo(UserEntity user);
}
